home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_02_05
/
2n05012c
< prev
next >
Wrap
Text File
|
1991-03-31
|
397b
|
21 lines
/*
* LoadNonExistentResource()
* Loads a non-existent resource in, and attempts to delete it.
*
* Assumptions:
* hInst is the instance of our program
* The cursor 'BOGUS' does not exist.
*
*/
LoadNonExistentResource(HANDLE hInst)
{
HCURSOR hCurse;
/*----------------------*/
hCurse = LoadCursor(hInst,"BOGUS");
DeleteObject((HANDLE)hCurse);
}